<?php
	header("Content-Type: text/html; charset=UTF-8");
?>
<div align="right">
	<!--[if lt IE 9]>
	<script src="js/ltie9.js" type="text/javascript"></script>
	<![endif]-->
	<script type="text/javascript" src="js/show_subtitle.js"></script>
<?php 
	session_start();
	if(isset($_SESSION["user"]))
	{
		echo "<div style=\"height:20px;font-size:15px\">您好，欢迎您，<a href=\"userinfo.php?user=".$_SESSION["user"]."\">".$_SESSION["user"]."</a>......";
		if(isset($_SESSION["admin"]))
			echo "&nbsp;&nbsp;<a href='admin/administration.php'>[后台管理]</a>";
		echo "&nbsp;&nbsp;<a href='modify.php'>[修改信息]</a>&nbsp;&nbsp;<a href=\"logout.php\">[退出登录]</a></div>"; 
	}

?>
</div>
<table style="width:100%;background-color:white" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td id="title" style="width:100%;">
		<table style="width:100%;height:100%" cellpadding="0" cellspacing="0">
			<tr>
				<td>
					<!--[if !IE]>
					<!-->
					<img style="width:100%;height:100%" alt="images/header.png" src="images/header.png" />
					<!--<![endif]-->
					<!--[if gt IE 6]>
					<img style="width:100%;height:100%" alt="images/header.png" src="images/header.png" />
					<![endif]-->
					<!--[if IE 6]>
					<img style="width:1200px;height:100%" alt="images/header.png" src="images/header.png" />
					<![endif]-->
				</td>
			</tr>
		</table>
	</td>
</tr>
<tr id="menu" class="menu">
	<td>
		<table style="width:70%" cellpadding="0" cellspacing="0">
			<tr id="nav">
				<td class="text_center">
					<a href="<?php echo $menu_home_link; ?>">
						<?php echo $menu_home; ?></a>
				</td>
				<td class="text_center">
					<a href="<?php echo $menu_news_link; ?>">
						<?php echo $menu_news; ?></a>
				</td>
				<td class="text_center">
					<a href="<?php echo $menu_blog_link; ?>">
						<?php echo $menu_blog; ?></a>
				</td>
				<td class="text_center" onmouseout="HideObject('history_subtitle');" onmouseover="FixupPosition(this);ShowObject('history_subtitle')">
					<a href="<?php echo $menu_team_link; ?>">
						<?php echo $menu_team; ?></a>
				</td>
				<td class="text_center">
					<a href="<?php echo $menu_download_link; ?>" onmouseover="HideObject('history_subtitle')">
						<?php echo $menu_download; ?></a>
				</td>
				<td class="text_center"> 
					<a href="<?php echo $menu_oj_link; ?>" target="_blank">
						<?php echo $menu_oj; ?></a>
				</td>
		</tr>
	</table>
</td>
</tr>
<tr class="submenu">
<td>
<div id="history_subtitle" style="display:none; position: absolute;"  onmouseover="ShowObject('history_subtitle')" onmouseout="HideObject('history_subtitle');">
<table style="width:100%" cellpadding="0" cellspacing="0">
	<tr>
		<td >
			<table border="0" cellspacing="0" cellpadding="5" style="width: 100%; font-size:15px;" >
				<tr>
					<td class="text_center">
					<a href="<?php echo $menu_icpc_link; ?>" onmouseover="HideObject('history_subtitle')">
						<?php echo $menu_icpc; ?></a>
					</td>
				</tr>
				<tr>
					<td>
						<a href="<?php echo $menu_team_link; ?>?show=introduce" >团队经历</a>
					</td>
				</tr>
				<tr>
					<td>
						<a href="<?php echo $menu_team_link; ?>?show=achievement" >团队成绩</a>
					</td>
				</tr>
			<tr>
				<td>
					<a href="<?php echo $menu_team_link; ?>?show=books" >竞赛书库</a>
				</td>
			</tr>
			<tr>
				<td >
					<a href="<?php echo $menu_team_link; ?>?show=ACMer" >队员风采</a>
				</td>
			</tr>
			<tr>
				<td style="height:2px">
				</td>
			</tr>
		</table>
	</td>
</tr>
</table>
<div>
</td>
</tr>
</table>